package student;

public class Student {
    private int studentId;
    private String studentName;
    private int age;
    private String sex;
    private String Id;
    private String telephone;

    public int getStudentId() {
        return studentId;
    }

    public void setStudentId(int studentId) {
        this.studentId = studentId;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getId() {
        return Id;
    }

    public void setId(String id) {
        Id = id;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public Student(int studentId, String studentName, int age, String sex, String id, String telephone) {
        this.studentId = studentId;
        this.studentName = studentName;
        this.age = age;
        this.sex = sex;
        Id = id;
        this.telephone = telephone;
    }

    @Override
    public String toString() {
        return "学生信息为:{" +
                "StudentId=" + studentId +
                ", StudentName='" + studentName + '\'' +
                ", age=" + age +
                ", sex='" + sex + '\'' +
                ", Id='" + Id + '\'' +
                ", telephone='" + telephone + '\'' +
                '}';
    }

    public Student(){
        super();
    }

}